package com.zy.cat.entity.dev.resp;

import javax.persistence.Column;

import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @info 9趣猫用户看视频领金币任务响应
 * @author Link
 * @date 2019-10-30 09:14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("9趣猫用户看视频领金币任务响应类")
public class CatDevBeanVideoHistoryResp {
	
	@ApiModelProperty(value = "用户ID", example = "100056")
	@JsonIgnore
	private String pid;
 
	@ApiModelProperty(value = "今日领取次数", example = "1")
	private int dcount;
	
	@ApiModelProperty(value = "当前看视频所获取的现金豆数", example = "0")
	private int beans;
	
	@ApiModelProperty(value = "上次看视频领金豆的时间", example = "2019-12-09 09:44:00")
	private String endTime;
	
	@ApiModelProperty(value = "奖励来源(0.福利中心、1.首页弹窗、2.刮刮卡弹窗、3.便利店弹窗)", example = "0")
	@JsonIgnore
	private int ltype;

	public CatDevBeanVideoHistoryResp(String pid) {
		super();
		this.pid = pid;
	}

	public CatDevBeanVideoHistoryResp(String pid, int ltype) {
		super();
		this.pid = pid;
		this.ltype = ltype;
	}
	
	
}
